#!/usr/bin/env node
const { exec } = require('child_process')
const path = require('path')
exec(`\
  rm -rf build/ && \
  babel src \
  --out-dir build \
  --no-babelrc \
  --copy-files \
  --plugins=@babel/plugin-transform-modules-commonjs \
`, (err, msg) => console.log(err ? err : msg))
